<template>
  <div class="dynamic">
    <card v-if="info" :info="info" />
  </div>
</template>

<script>
import { dynamicData } from "request/dynamic";
import { getUser } from "request/useData";
import card from "components/share/dynamic/card";
export default {
  name: "dynamic",
  data() {
    return {
      info: null,
    };
  },
  components: {
    card,
  },
  methods: {
    getData() {
      var data = null;
      dynamicData().then((res) => {
        this.info = res.data;
      });
    },
  },
  mounted() {
    this.getData();
  },
};
</script>

<style lang="less" scoped>
.dynamic {
}
</style>